package com.stlm2.dems.user.dao;

import com.stlm2.dems.user.entity.SystemPrivilege;
import com.stlm2.core.base.BaseDao;

import java.util.List;

public interface SystemPrivilegeDao extends BaseDao<SystemPrivilege> {
    public List<SystemPrivilege> getByUserId(int userId);
    public List<SystemPrivilege> getByRoleId(int roleId);

}